package cn.com.yinhex.util;

public class VideoStatus {
    // 10 等待处理 20 处理中 30 处理成功 40 处理失败 50 未审核 60 已发布  －1 已删除
    /**
     * 管理员删除，用户不可以恢复
     */
    public static final int video_admin_del = -2;
    
    /**
     * 用户删除,可以恢复
     */
    public static final int video_del = -1;
    
    /**
     * 队列等待中/等待处理
     */
    public static final int video_trans_waite = 10;
    
    /**
     * 视频处理中
     */
    public static final int video_trans_ing = 20;
    
    /**
     * 处理中：截取图片
     */
    public static final int video_pic_ing = 21;
    
    /**
     * 处理中：转码普通版
     */
    public static final int video_deal1_ing = 22;
    
    /**
     * 处理中：转码清晰版
     */
    public static final int video_deal2_ing = 23;
    
    /**
     * 处理中：转码高清版
     */
    public static final int video_deal3_ing = 24;
    
    /**
     * 未审核过的视频重新处理中
     */
    public static final int video_deal_again0 = 25;
    
    /**
     * 审核过的视频重新处理中
     */
    public static final int video_deal_again1 = 26;
    
    /**
     * 转换结束/处理结束
     */
    public static final int video_trans_over = 30;
    
    /**
     * 转换失败/处理失败
     */
    public static final int video_trans_fail = 40;
    
    /**
     * 等待审核/未审核
     */
    public static final int video_appr_waite = 50;
    
    /**
     * 审核不通过
     */
    public static final int video_un_publish = 51;
    
    
    /**
     * 返回重新审核文字
     */
    public static final int video_re_appr = 52;
    /**
     * 已发布
     */
    public static final int video_publish_ok = 60;
    
    /**
     * 已删除
     */
    public static final int video_delete_ok = Constants.isdel;
    
    
    
    public static String  desc(int status) {
		switch (status) {
		case video_trans_waite:
			return "待处理";
		case video_trans_ing:
			return "处理中";
		case video_pic_ing:
            return "处理中：视频截图";
		case video_deal1_ing:
            return "处理中：转码普通版";
        case video_deal2_ing:
            return "处理中：转码清晰版";
        case video_deal3_ing:
            return "处理中：转码高清版";
        case video_deal_again0:
            return "重新转码中";
        case video_deal_again1:
            return "重新转码中";
		case video_trans_over:
			return "处理完成";
		case video_trans_fail:
			return "处理失败";
		case video_appr_waite:
		    return "待审核";
		case video_re_appr:
	        return "待重新审核";
		case video_un_publish:
            return "审核不通过";
		case video_publish_ok:
			return "已发布";
		case video_admin_del:
		    return "管理员删除";
		case video_del:
            return "已删除";
		default:
			return "unknow";
		}
	}
    
    
    
}
